package com.ruoyi.mall.mapper;

import java.util.List;
import com.ruoyi.mall.domain.MallTimeWarehouse;

/**
 * 抢购区仓库Mapper接口
 * 
 * @author ruoyi
 * @date 2022-02-23
 */
public interface MallTimeWarehouseMapper 
{
    /**
     * 查询抢购区仓库
     * 
     * @param id 抢购区仓库主键
     * @return 抢购区仓库
     */
    public MallTimeWarehouse selectMallTimeWarehouseById(Long id);

    /**
     * 查询抢购区仓库列表
     * 
     * @param mallTimeWarehouse 抢购区仓库
     * @return 抢购区仓库集合
     */
    public List<MallTimeWarehouse> selectMallTimeWarehouseList(MallTimeWarehouse mallTimeWarehouse);

    /**
     * 新增抢购区仓库
     * 
     * @param mallTimeWarehouse 抢购区仓库
     * @return 结果
     */
    public int insertMallTimeWarehouse(MallTimeWarehouse mallTimeWarehouse);

    /**
     * 修改抢购区仓库
     * 
     * @param mallTimeWarehouse 抢购区仓库
     * @return 结果
     */
    public int updateMallTimeWarehouse(MallTimeWarehouse mallTimeWarehouse);

    /**
     * 删除抢购区仓库
     * 
     * @param id 抢购区仓库主键
     * @return 结果
     */
    public int deleteMallTimeWarehouseById(Long id);

    /**
     * 批量删除抢购区仓库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteMallTimeWarehouseByIds(Long[] ids);
}
